<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="common/common :: head">  </head>
<head>
    <meta charset="utf-8">
    <title>点滴日记</title> 
</head>
<body>
    <header th:replace="common/common :: header">  </header>

    <div class="widewrapper main">
        <div class="container">
            <div class="row">
                <div class="col-md-8 blog-main">
                    <div class="row">
                        <div class="col-md-6 col-sm-6" th:each="diary:${diary}">
                            <article class=" blog-teaser" >
                                <header>
                                    <img th:src="${diary.image}" alt="">
                                    <h3><a href="single.html" th:text="${diary.title}">你看，有个灰机</a></h3>
                                    <span class="meta" th:text="${diary.addTime}">19 August 2015 </span>
                                    <span class="meta" th:text="${diary.writer}">John Doe</span>
                                    <hr>
                                </header>
                                <div class="body" th:text="${diary.smBody}">
                                		你看，有个灰机。你看，有个灰机。你看，有个灰机。你看，有个灰机。
                                </div>
                                <div class="clearfix">
                                    <a href="single.html" class="btn btn-clean-one">全文</a>
                                </div>
                            </article>
                        </div>
                    </div>



                    <div class="paging">
                        <a href="#" class="older"><span style="background: #333333;color: #fff;padding: 0.5pc;border-radius:  0.5pc">点我查看更多</span></a>
                    </div>
                </div>
                <aside class="col-md-4 blog-aside">

                    <div class="aside-widget">
                        <header>
                            <h3>日记类型</h3>
                        </header>
                        <div class="body clearfix">
                            <ul class="tags">
                                <li th:each="diary:${diary}"><a href="#" th:text="${diary.label}">脑抽</a></li>
                            </ul>
                        </div>
                    </div>
                    
                    <div class="aside-widget">
                        <header>
                            <h3>推荐列表</h3>
                        </header>
                        <div class="body">
                            <ul class="clean-list">
                                <li th:each="diary:${recomDiary}">
                                	<a href="" th:text="${diary.title}">你看，有个灰机</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                
                    <div class="aside-widget">
                        <header>
                            <h3>最新日记</h3>
                        </header>
                        <div class="body">
                            <ul class="clean-list">
                                <li th:each="diary:${newDiary}">
                                	<a href="" th:text="${diary.title}">你看，有个灰机</a>
                                </li>                                
                            </ul>
                        </div>
                    </div>


                </aside>
            </div>
        </div>
    </div>

 	<footer th:replace="common/common :: footer">  </footer>
   
   

</body>
</html>